-- card: 36198 from stack: in.2r -- bmap block id: 0 -- flags: 0000 -- background id: 3837 -- name: SortReals -- part contents for background part 5 ----- text ----- SortReals -- part contents for background part 6 ----- text ----- The SortReals XFCN will sort real numbers contained in a field into ascending order. The numbers should be separated by spaces. (The numbers are "words" in HC parlance.). SortReals works on any Mac. If you are using a Mac II then see SortRealsII*. This XFCN is FreeWare. You may use it freely in any of your stacks, for your own, or commercial use or extend its capablities to return averages or whatever. SHOW ME YOUR XCMD SOURCE CODE! SortReals was written in Lightspeed™ Pascal and SortRealsII was written in MPW Pascal. George Coyne GENIE: GWCOYNE CIS: 75776,1463 -- part contents for background part 7 ----- text ----- Syntax: SortReals() Where: input: Any HyperCard Container The functions return a sorted list. Example: put SortReals(input) into output output may be the same container as input. -- part contents for background part 10 ----- text ----- 38